#ifndef TERMINALTAB_H
#define TERMINALTAB_H

#include <kparts/part.h>
#include <kpluginfactory.h>
#include <klibloader.h>
#include <kde_terminal_interface.h>
#include <KXmlGuiWindow>
#include <KTabWidget>

#include <iostream>
#include <stdio.h>
#include <assert.h>
#include <QString>
#include <QStringList>

class TerminalTab: public KTabWidget{
  Q_OBJECT

public:
  TerminalTab(KXmlGuiWindow* parent);
  void createTab(QString cmd, const QString packName);
  
//private slots:
//  void closeTab(QWidget *widg);

private:
  TerminalInterface* terminalInterface;
  QWidget* terminal;
};

#endif
